using Mono.Cecil.Cil;

namespace Cil.Ast;

public class SingleInstructionExpression : Expression
{
	public SingleInstructionExpression(Context context, Instruction target) : base(context)
	{
		Instruction = target;
		context.SetExpression(target, this);
	}

	public Instruction Instruction { get; private set; }

	public override bool IsParsed
	{
		get { return true; }
	}

	public override bool IsEmpty
	{
		get { return false; }
	}
}